<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_WARNING",false);?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>【xxx】后台管理</title>
    <link rel="stylesheet" href=" http://localhost/ly/shop/APP/admin/Tpl/GoodsSpec/css/add.css">
    <script type='text/javascript' src='http://localhost/ly/HDPHP/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
    <link href="http://localhost/ly/HDPHP/hdphp/Extend/Org/hdui/css/hdui.css" rel="stylesheet" media="screen"><script src="http://localhost/ly/HDPHP/hdphp/Extend/Org/hdui/js/hdui.js"></script>
    <script type="text/javascript" src="http://localhost/ly/shop/APP/admin/Tpl/GoodsSpec/js/js.js"></script>
</head>
<body>
    <div id="admin">                     
        <div id="right">
            <div class="M-articless">
                <div class="top_box">
                    <h3>添加规格</h3>
                </div>
                <div class="art-lisi">
                    <!-- <div class="forMsg">操作成功信息</div> -->
                    <form action="<?php echo U('add');?>" method="post">
                        <input type="hidden" name="gtid" value="<?php echo $_GET['gtid'];?>"/>
                        <ul>
                            <li>
                                <span >规格名称</span>
                                <input name="spec_name" class="title" type="text" />
                            </li>
                            <li >
                                <span>是否在在详情页显示（尺码，颜色)</span>
                                <label for=""><input name='type_show' value='1' type="radio">是</label>
                                <label for=""><input name='type_show' value='0' type="radio">否</label>
                            </li>                           
                            <li >
                                <span>规格值（每一个文本框一个规格值）</span>
                            </li>
                            <li>
                                <input type="text" name='value[]'><a class="addSpec" href="#">增加</a>
                            </li>
                            <div id="specBox">
                                
                            </div>                       
                            <li>
                                <input class="btn" type="submit" value="添加">
                            </li>
                        </ul>
                    </form>
                </div>
            </div>
        </div>       
    </div>
</body>
</html>